package org.example.learningplanassistant.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 跑腿市场表
 * </p>
 *
 * @author gcbsh
 * @since 2025-03-25
 */
@Getter
@Setter
@TableName("help_run")
public class HelpRun implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 跑腿市场表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 跑腿市场用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 跑腿任务描述
     */
    @TableField("description")
    private String description;

    /**
     * 跑腿任务名称
     */
    @TableField("title")
    private String title;

    /**
     * 起始地点
     */
    @TableField("location_from")
    private String locationFrom;

    /**
     * 目的地
     */
    @TableField("location_to")
    private String locationTo;

    /**
     * 价格
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 发表时间
     */
    @TableField("created_at")
    private LocalDateTime createdAt;
}
